package com.gjy.design.bridge.draw;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-11-10 09:19:29
 */
public class Client {

    public static void main(String[] args) {
        Shape circle1 = new Circle(1, 2, 3, new DrawingAPI1());
        Shape circle2 = new Circle(4, 5, 6, new DrawingAPI2());
        circle1.draw(); // 使用 API1
        circle2.draw(); // 使用 API2
    }

}
